package com.ljs.myspringboot.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 学生对象
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Student_boot {
    int id;
    String name;
    String password;
    /**
     * 图片
     */
    String pic;
    int state;

    List<Classes> classesList;

    public Student_boot(int id, String name, String password, int state) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.state = state;
    }

    @Override
    public String toString() {
        return "student_boot{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", pic='" + pic + '\'' +
                ", state=" + state +
                ", classesList=" + classesList +
                '}';
    }
}
